﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;

namespace PhanCongGiangDay
{
    public partial class TKGiangVienThinhGiang : Form
    {
        public TKGiangVienThinhGiang()
        {
            InitializeComponent();
        }

        private void txtMaHK_TextChanged(object sender, EventArgs e)
        {
            txtNamHoc.Text = CHocKi.getHKById(txtMaHK.Text.Trim());
        }

        private void btnTimKiem_Click(object sender, EventArgs e)
        {
            string maHK = txtMaHK.Text.Trim();
            dataGridViewGV.DataSource = CGiangVien.getGVThinhGiang(maHK);
        }

        private void button1_Click(object sender, EventArgs e)
        {
            this.Close();
        }
    }
}
